To make something certain or definite. We need to nail down the details of the contract before signing.
To understand or identify something precisely. The detective was able to nail down the suspect's whereabouts on the night of the crime.
To secure something firmly in place. He nailed down the loose floorboard to prevent anyone from tripping.